import { createApp } from 'vue'
import App from '@/App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'virtual:svg-icons-register'
import golbcom from '@/components/index.ts'
//@ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import '@/styles/index.scss'
import router from '@/route/index.ts'
import { createPinia } from 'pinia'

const app = createApp(App)
app.use(ElementPlus, {
    locale: zhCn,
  })
app.use(ElementPlus)
app.use(golbcom)
app.use(router)
app.use(createPinia())
app.mount('#app')
